home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
cenvid
/
count.bat
< prev
next >
Wrap
DOS Batch File
|
1995-10-04
|
315b
|
16 lines
@echo off
REM COUNT.BAT - Count from 1 to specified number
REM EXAMPLE: COUNT 100
IF _%1_==__ ECHO USAGE COUNT #
IF _%1_==__ ECHO EXAMPLE COUNT 10
IF _%1_==__ GOTO FINISHED
SET COUNT=0
:TOP_OF_LOOP
CEnviD COUNT = COUNT + 1
ECHO %COUNT%
IF NOT _%COUNT%_==_%1_ GOTO TOP_OF_LOOP
:FINISHED